package com.qyt.hotel.dao;

import com.qyt.hotel.entity.RoomImg;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RoomImgMapper {
    List<RoomImg> getRoomImgList(@Param("roomId") String roomId);

    Integer addRoomImg(@Param("roomId") String roomId, @Param("roomImgName") String roomImgName);

    Integer deleteRoomImg(@Param("roomImgId") Integer roomImgId);

    String getRoomImgId(@Param("roomImgName") String roomImgName);
}
